﻿using Microsoft.EntityFrameworkCore;
using System.Data.Common;

namespace MyToDo.Api.Context
{
    public class MyToDoContext:DbContext
    {

        public MyToDoContext(DbContextOptions<MyToDoContext> options):base (options)
        {
            
        }

        public DbSet <ToDo> ToDos { get; set; } 
        public DbSet <User > Users { get; set; }
        public DbSet <Memo > Memos { get; set; } 

    }
}
